09. Foreign Keys
Foreign Keys
Question:
Start Quiz:
Solution:
INSTRUCTOR NOTE:
The tables in this quiz:
users:
| username | full_name |
|---|---|
| PrinceUtena | Tenjō Utena |
| arachnidsGrip | Vriska Serket |
| drFalken | Stephen Falken |
| … | … |
posts:
| content | author | id |
|---|---|---|
| Hello m8s! This is your … | arachnidsGrip | 1 |
| I miss Joshua. Maybe I will write some code … | drFalken | 2 |
| … | … | … |
votes:
| post_id | voter | vote |
|---|---|---|
| 1 | drFalken | -1 |
| 2 | PrinceUtena | 1 |
| 2 | tipsyGnostalgic | -1 |
| … | … | … |